package com.huike.report.mapper;

import java.util.List;
import java.util.Map;

import com.huike.report.domain.vo.ActivityStatisticsVo;
import com.huike.report.domain.vo.BusinessReqVo;
import com.huike.report.domain.vo.BusinessRspVo;
import com.huike.report.domain.vo.ReportVo;
import org.apache.ibatis.annotations.Param;

import com.huike.clues.domain.vo.IndexStatisticsVo;

/**
 * 首页统计分析的Mapper
 *
 * @author Administrator
 */
public interface ReportMapper {

    public Integer cluesNums(@Param("beginCreateTime") String beginCreateTime,
                             @Param("endCreateTime") String endCreateTime,
                             @Param("userId")Long userId);

    public Integer effectiveCluesNums(@Param("beginCreateTime")String beginCreateTime,@Param("endCreateTime") String endCreateTime);

    public Integer businessNums(@Param("beginCreateTime")String beginCreateTime,@Param("endCreateTime") String endCreateTime);

    public Integer contractNums(@Param("beginCreateTime")String beginCreateTime,@Param("endCreateTime") String endCreateTime);
    public List<BusinessRspVo> getBusinessChangeStatistics(BusinessReqVo businessReqVo);

    Long businessNum(BusinessReqVo businessReqVo);

    public List<BusinessRspVo> getSalesStatistic(BusinessReqVo businessReqVo);

    Long countAll(BusinessReqVo businessReqVo);
}
